package com.hmall.search.service;

import com.hmall.common.dto.PageDTO;
import com.hmall.search.pojo.ItemDoc;
import com.hmall.search.pojo.RequestParams;

import java.util.List;
import java.util.Map;

public interface SearchService {
    PageDTO<ItemDoc> list(RequestParams params);

    Map<String, List<String>> filters(RequestParams params);

    void sync();

    void createIndex();
}
